package org.simplespringframework.mvc.type;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.lang.reflect.Method;
import java.util.Map;

/**
 * @BelongsProject: simpleframework
 * @BelongsPackage: org.simplespringframework.mvc.type
 * @Author: xshang
 * @CreateTime: 2023-06-29  11:57
 * @Description: 待执行的Controller及其方法实例和参数的映射
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ControllerMethod {

    // controller对应的class对象
    private Class<?> controllerClass;

    // 执行的controller方法实例
    private Method invokeMethod;

    // 方法参数名称以及对应的参数类型
    private Map<String, Class<?>> methodParameters;




}
